# !bash 
dR=1.5; #distance between particles
rm -f benchmark-cell.txt
for (( c=1; c<=13; c+=1 )) 
do
  let np=$((4*$c*$c*$c));
  echo $c "=>" $np
  L=`echo $np $dR | awk '{ print exp(log($1)/3.0)*$2; }'  | sed -e 's/,/./g' `
  echo "L=$L";
  ./mdc -f sample.cfg -T 1 -box $L -step verlet -np $np -benchmark 100 -dyn cell
done

